package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SupplierDao {
    List<Supplier> getSupplierList(@Param("startPage") Integer startPage, @Param("rows") Integer rows, @Param("supplierName")String supplierName);

    int insert(@Param("supplier") Supplier supplier);

    int update(@Param("supplier") Supplier supplier);

    void delete(@Param("id") String id);
}
